import request from "@/utils/request";

// 1、查询承运企业列表
export const getTransportCompanyListAPI = (params) =>
  request({
    url: "/biz/transportCompany/list",
    params,
  });

export const getCompanyCodeAPI = () =>
  request({
    url: "/biz/transportCompany/nextCode",
    method: "post",
  });

export const createCompany = (data) =>
  request({
    url: "/biz/transportCompany",
    method: "post",
    data,
  });
